﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace ElectrosLTD.Models
{
    public class RateCommentModel
    {
        public int ProductID { get; set; }
        public int Rating { get; set; }
        public string Comment { get; set; }

        public IEnumerable<SelectListItem> ratingList { get; set; }

        public RateCommentModel()
        {
            ratingList = new SelectList(new ProductServ.ProductWCFClient().GetRatingList(), "ID","Rate");
        }
    }
}